<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:65:"/var/www/fish/application/crm/view/callplatform/outBoundList.html";i:1514275413;}*/ ?>
<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="UTF-8">
        <title>小鱼ADMIN</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <link rel="stylesheet" href="/public/static/css/font.css">
        <link rel="stylesheet" href="/public/static/css/bgadmin.css">
		<link href="/public/static/lib/address/css/city-picker.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="/public/static/js/jquery-1.8.0.min.js"></script>
        <script src="/public/static/js/js/jquery-1.9.1.min.js"></script>
        <script type="text/javascript" src="/public/static/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/public/static/js/bgadmin.js"></script>
        <script type="text/javascript" src="/public/static/js/jquery.form.js"></script>
		<script type="text/javascript" src="/public/static/js/pbx.js"></script>
    </head>
    <body>
        <div class="bg-body">
            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief" style="margin-top: 0px">
              <ul class="layui-tab-title">
                <?php if(($username == 'admin') OR ($priv['view'] == 'Y')): ?>
                <li onclick="loadIframe('iframe_myCustomer', './myCustomer.html?task_id=<?php echo $task_id; ?>')" class="layui-this">我的客户</li>
                <?php endif; if(($username == 'admin') OR ($priv['view'] == 'Y')): ?>
                <li onclick="loadIframe('iframe_outBoundRecord', './outBoundRecord.html?task_id=<?php echo $task_id; ?>')">外呼记录</li>
                <?php endif; ?>
                <!-- <?php if(($username == 'admin') OR ($priv['view'] == 'Y')): ?>
                <li onclick="loadIframe('iframe_outBoundReport', './outBoundReport.html?task_id=<?php echo $task_id; ?>')">外呼报表</li>
                <?php endif; ?> -->
              </ul>
              <div class="layui-tab-content" style="height: 100px;">
                <?php if(($username == 'admin') OR ($priv['view'] == 'Y')): ?>
                <div class="layui-tab-item layui-show">
                    <iframe id="iframe_myCustomer" src="./myCustomer.html?task_id=<?php echo $task_id; ?>" style="width:100%;height:680px;" scrolling="auto" frameborder="0" ></iframe>
                </div>
                <?php endif; if(($username == 'admin') OR ($priv['view'] == 'Y')): ?>
                <div class="layui-tab-item">
                    <iframe id="iframe_outBoundRecord" src="" style="width:100%;height:680px;" scrolling="auto" frameborder="0" ></iframe>
                </div>
                <?php endif; ?>
                <!-- <?php if(($username == 'admin') OR ($priv['view'] == 'Y')): ?>
                <div class="layui-tab-item">
                    <iframe id="iframe_outBoundReport" src="" style="width:100%;height:680px;" scrolling="auto" frameborder="0" ></iframe>
                </div>
                <?php endif; ?> -->
              </div>
            </div>
        </div>
    </body>
    <script type="text/javascript" src="/public/static/crm/js/servicecustomer/editCustomer.js"></script>
    <script src="/public/static/lib/address/js/city-picker.data.js"></script>
	<script src="/public/static/lib/address/js/city-picker.js"></script>
	<script src="/public/static/lib/address/js/main.js"></script>
    <script>
        function loadIframe (id, url) {
            if ($('#'+id).attr('src') == "") {
                $('#'+id).attr('src', url);
            }
        }

    </script>
</html>
